@import "mixins";
$sectionPadding: 10em;
$bgcComplementary: #0085B2;
$bgcComplementaryDark: darken($bgcComplementary, 5%);
$bgcSecondary: #F0F0E1;
$navColor: #999;


body{
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1.6em;
    -webkit-font-smoothing: antialiased !important;
    text-align: center;
}
h1, h2, h3, h4{font-family: 'Open Sans', sans-serif !important;font-weight: normal;}
h3{font-size: 3.75em;}  
section{padding: $sectionPadding 0;}
section[role*="complementary"]{
    padding: $sectionPadding/2 0;
    background-color: $bgcComplementary;
    p{
        color: #fff;
        font-style: italic;
        font-size: 1em;
    }
    h3{
        font-weight: 800;
        margin: 0px;
        text-transform: uppercase;
        color: #fff;
    }
    a{
        color: #fff;
        text-decoration: underline;
        font-weight: 700;
        &:hover{
            color: #BFE6F2;
        }
    }
}

h2{
    font-size: 26px;
    color: $bgcComplementary;
    text-align: center;
    margin-top: 0px;
    
}
p{
    font-size: 1em;
    color: #333;
    text-align: center;
}

.beneficios{
    background-color: $bgcSecondary;
    p{
    }
}
.circle-img{
    img{
        width: 100%;
        max-width: 220px;
        margin-bottom:2em;
    }
}

.sub-title{
    font-size: 1.125em;
    font-weight: bold;
}

/* TOP MENU */
nav.top{
    background-color: #FFF;
    position: fixed;
    text-align: left;
    top: 0;
    width: 100%;
    z-index: 98;
    font-size: 0.8em;
    @include bShadow(0px 0px 8px rgba(0, 0, 0, 0.2));
    ul{
        padding: 0px;
        background-color: $bgcComplementary;
        display: none;
        margin: 0;
        li{
            a{
                font-size: 1em;
                line-height: 2em;
                color: #fff;
                display: block;
                width: 100%;
                padding: 10px;
                border-bottom: 1px solid $bgcComplementaryDark;
                &:hover{background-color:$bgcComplementaryDark ;color:#fff;}
            }
        }
    }
    a{
        color: $navColor;
        font-size: 0.875em;
        line-height: 60px;
        &:hover{color:$bgcComplementary;}
    }
    li a{
        line-height: 1.6em;
    }
    .logo{
        display: inline-block;
        padding: 0 10px;
    }
    .menu{
        cursor: pointer;
        color: $bgcComplementary;
        padding: 10px;
    }
    [class*="icon-"]{
        font-size: 20px;
        vertical-align: middle;
    }
    .right{
        padding: 0 2px;
        img{
            padding: 0 10px;
        }
    }
    .icon-facebook, .icon-twitter{padding: 10px;}
}
#iniDr{
    display: none;
}
.dr-logo{
    width: 108px;
    height: auto;
}

#overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
}

/* BANNER */

.full-img{
    position: relative;
    width: 100%;
    background: url('../content/full_img.jpg') no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    cursor: pointer;
    img{
        padding: 0 15px;
        position: absolute;
        top: 50%;
        left: 50%;
    }
}

#top-banner{
    position: relative;
    .loader{
        position: absolute;
        width: 26px;
        height: 26px;
        left: 50%;
        top: 50%;
        margin: -13px 0 0 -13px;
    }
}

/*MAS INFO*/
.mas-info{
    background-color: $bgcSecondary !important;
    p, a{color: #333 !important;}
    a:hover{color: #686859 !important;}
}

/*CORRE LA VOZ*/
.voz{
    h3{
        color: $bgcComplementary;
        font-weight: 800;
        margin-top: 0px;
        span{font-weight: 300;}
    }
    img{margin-bottom: 3em;}
}

/*SOCIAL ICON*/
.social-icon{
    color: #fff;
    width: 90px;
    height: 90px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    padding-top: 31px;
    margin: 0 auto;
    span{font-size: 30px;}
}
.fb{
    background-color: #385999;
    &:hover{background-color: darken(#385999, 5%);}
}
.tw{
    background-color: #00ACEE;
    &:hover{background-color: darken(#00ACEE, 5%);}
}
.em{
    background-color: #FF4D4D;
    &:hover{background-color: darken(#FF4D4D, 5%);}
}

/*SUMATE*/
.sumate{
    padding: $sectionPadding/4 0 !important;
    font-size: 1.625em;
    h4{        
        color: #fff;
        text-align: center;
        font-style: italic;
        margin: 0 0 30px 0;
    }
    .sumate-btn{
        display: block;
        width: 100%;
        text-align: center;
        background-color: #FFF;
        color: #0085B2;
        padding: 25px 0px;
        text-decoration: none;
        -moz-border-radius:9px;
        -webkit-border-radius:9px;
        border-radius:9px;
        &:hover{color: #fff;background-color: $bgcComplementaryDark;}
    }
}

/*MURO*/

.cbp-rfgrid {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cbp-rfgrid li {
    position: relative;
    float: left;
    overflow: hidden;
    width: 16.6666667%; /* Fallback */
    width: -webkit-calc(100% / 6);
    width: calc(100% / 6);
}

.cbp-rfgrid li a,
.cbp-rfgrid li a img {
    display: block;
    width: 100%;
    cursor: pointer;
}

.cbp-rfgrid li a img {
    max-width: 100%;
}

@media screen and (min-width: 1190px) {
    .cbp-rfgrid li {
        width: 8.3332%; /* Fallback */
        width: -webkit-calc(100% / 12);
        width: calc(100% / 12);
    }
}

@media screen and (max-width: 1190px) {
    .cbp-rfgrid li {
        width: 12.5%; /* Fallback */
        width: -webkit-calc(100% / 8);
        width: calc(100% / 8);
    }
}

@media screen and (max-width: 945px) {
    .cbp-rfgrid li {
        width: 16.6665%; /* Fallback */
        width: -webkit-calc(100% / 6);
        width: calc(100% / 6);
    }
}

@media screen and (max-width: 660px) {
    .cbp-rfgrid li {
        width: 25%; /* Fallback */
        width: -webkit-calc(100% / 4);
        width: calc(100% / 4);
    }
}

@media screen and (max-width: 400px) {
    .cbp-rfgrid li {
        width: 33.332%;
        width: -webkit-calc(100% / 3);
        width: calc(100% / 3);
    }
}

@media screen and (max-width: 300px) {
    .cbp-rfgrid li {
        width: 50%;
        width: -webkit-calc(100% / 2);
        width: calc(100% / 2);
    }
}


/*MODAL*/

.btn-social{
    display: block;
    position: relative;
    width: 100%;
    padding: 12px 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #fff;
    margin: 10px 0;
    span{
        position: absolute;
        left: 15px;
        top: 9px;
        font-size: 2em;
    }
    &:hover{color: #fff;}
}
//FACEBOOK
.btn-fb{
    background-color: #385999;
    &:hover{
        background-color: darken(#385999, 5%);
    }
}
//TWITTER
.btn-tw{
    background-color: #00ACEE;
    &:hover{
        background-color: darken(#00ACEE, 5%);
    }
}
//GOOGLE
.btn-g{
    background-color: #FF4D4D;
    &:hover{
        &:hover{background-color: darken(#FF4D4D, 5%);}
    }
}

/*TRIANGULO - FLECHA*/
.flecha-down{
    font-size: 2em;
    color: #fff;
    z-index: 97;
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -16px;
    cursor: pointer;
}
.animated{
    -webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;
    -webkit-animation-duration: 4s;
    -moz-animation-duration: 4s;
    -ms-animation-duration: 4s;
    -o-animation-duration: 4s;
    animation-duration: 4s;
}
.animated.hinge{
    -webkit-animation-duration:4s;
    -moz-animation-duration:4s;
    -ms-animation-duration:4s;
    -o-animation-duration:4s;
    animation-duration:4s;
}
@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}	40% {-webkit-transform: translateY(-15px);}
    60% {-webkit-transform: translateY(-10px);}
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
    40% {-moz-transform: translateY(-30px);}
    60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
    40% {-o-transform: translateY(-30px);}
    60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

.bounce {
    -webkit-animation-name: bounce;
    -moz-animation-name: bounce;
    -o-animation-name: bounce;
    animation-name: bounce;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
}

/*COMO RECICLAR ALIGN*/
.como-reciclar-align{
    margin-top: 10%;
}

/*FOOTER*/
footer{
    text-align: center;
    border-top: 1px solid #eee;
    p{
        color: #444;
        font-size: 0.75em;
        margin: 1em 0 !important;
        a{
            display: inline-block;
            width: 36px;
            height: 36px;
            margin-left: 8px;
            img{
                width: 36px;
                height: 36px;
            }
        }
    }
}

/* BENEFICIOS */
.beneficios{
    a{
        color: #000;
        &:hover{
            color: #2795b6;
        }
    }
}

/* CONSEJOS */
.consejos, .beneficios, .composteras{
        h2{
            margin-bottom: 70px;
        }
}